//
//  SplittedDocumentViewController.h
//  Documents
//
//  Created by Alex Di Mango 
//  Copyright (c) 2012 Whardoo.com -  All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReaderViewController.h"

@interface SplittedDocumentViewController : UIViewController <ReaderViewControllerDelegate, UIGestureRecognizerDelegate>

@property (nonatomic, retain) id<DocumentProtocol> firstDocument;
@property (nonatomic, retain) id<DocumentProtocol> secondDocument;
@property (nonatomic, retain) IBOutlet UIView *firstView;
@property (nonatomic, retain) IBOutlet UIView *secondView;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *firstTitle;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *secondTitle;
@property (nonatomic, retain) IBOutlet UIToolbar *toolbar;
@property (nonatomic, retain) ReaderDocument *firstReader;
@property (nonatomic, retain) ReaderDocument *secondReader;

@property (nonatomic, retain) ReaderViewController *firstReaderViewController;
@property (nonatomic, retain) ReaderViewController *secondReaderViewController; 

-(IBAction)doneButton:(id)sender;
-(IBAction)toggleToolbar:(id)sender;

@end
